PDF4Java Reference Documentation
com.o2sol.pdf4java.spatial Package / PDFViewport Class / setBounds Method
A com.o2sol.pdf4java.graphics.PDFStandardRectangle that defines the viewport area.
In This Topic
    setBounds Method
    In This Topic
    Sets the viewport bounds.
    The lower left and upper right corners of the rectangle determine the orientation of the measuring coordinate system (that is, the direction of the positive x and yaxes) in this viewport, which may have a different rotation from the page.
    The viewport bounds are defined in the same coordinate system like the page media box and crop box.
    Syntax
    public void setBounds( 
       PDFStandardRectangle bounds
    )

    Parameters

    bounds
    A com.o2sol.pdf4java.graphics.PDFStandardRectangle that defines the viewport area.
    See Also